There are two flights per day to Naha, with one connecting through Kitadaito. The ferry is cheaper but longer and with a single roundtrip every week.
Flights and ferries occasionally do not run if the weather is bad - if an afternoon flight is canceled, then you will have to wait until the next day. Be careful about making reservations for connecting flights immediately after your trip.